﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Custom="http://schemas.microsoft.com/wpf/2008/toolkit" xmlns:System_Windows_Controls_DataVisualization_Charting_Primitives="clr-namespace:System.Windows.Controls.DataVisualization.Charting.Primitives;assembly=System.Windows.Controls.DataVisualization.Toolkit" xmlns:chartingToolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit" x:Class="S7.Windows.Reservations.AddAReservation"
        Loaded="Window_Loaded"
    Title="Add A Reservation" Height="393" Width="600" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen" Background="{DynamicResource BackgroundColor}" FontSize="18" ResizeMode="NoResize">
    <Grid>
    	<StackPanel Margin="8">
    		<DockPanel Margin="0,0,0,24">
    			<Label Content="Customer Name"/>
    			<ComboBox x:Name="tbCustomerName" Width="200" HorizontalAlignment="Right"/>
    		</DockPanel>
    		<DockPanel Margin="0,0,0,24">
    			<Label Content="Booking Time"/>
    			<TextBox x:Name="tbBookingTime" Width="200" TextWrapping="Wrap" HorizontalAlignment="Right"/>
    		</DockPanel>
    		<DockPanel Margin="0,0,0,24">
    			<Label Content="Booking Date"/>
    			<Custom:DatePicker x:Name="dtpBookingDate" HorizontalAlignment="Right" Width="200" FirstDayOfWeek="Saturday" SelectedDateFormat="Long" System_Windows_Controls_DataVisualization_Charting_Primitives:EdgePanel.Edge="Bottom"/>
    		</DockPanel>
    		<DockPanel Margin="0,0,0,24">
    			<Label Content="Table"/>
    			<TextBox x:Name="tbTable" Width="200" TextWrapping="Wrap" HorizontalAlignment="Right"/>
    		</DockPanel>
    		<DockPanel Margin="0,0,0,24">
    			<Label Content="Money Charged"/>
    			<TextBox x:Name="tbMoneyCharged" Width="200" TextWrapping="Wrap" HorizontalAlignment="Right"/>
    		</DockPanel>
			    		<DockPanel Margin="0,0,0,24">
    			<Label Content="Booking Status"/>
    			<TextBox x:Name="tbBookingStatus" Width="200" TextWrapping="Wrap" HorizontalAlignment="Right"/>
    		</DockPanel>
    		<DockPanel Margin="0,0,0,24">
    			<Button x:Name="btnSave" Width="100" Content="Save" Click="btnSave_Click"/>
    			<Button x:Name="btnCancel" Width="100" Content="Cancel" HorizontalAlignment="Right" Click="btnCancel_Click"/>
    		</DockPanel>
    	</StackPanel>
        
    </Grid>
</Window>